add_library(test test.cpp)
target_include_directories(test INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})

get_property(dirs_interface TARGET test PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
get_property(dirs_normal TARGET test PROPERTY INCLUDE_DIRECTORIES)
message("-- # In child scope, target test property: interface[${dirs_interface}], normal[${dirs_normal}]")